<template>
  <div>
    <!-- 头 -->
    <div class="tou"><header1 now="1"></header1></div>
    <!-- 封面图 -->
    <div
      class="zhutiyi"
      style="background: url('/ayb/jtfw_banner_41cef98.jpg') no-repeat"
    ></div>
    <!-- 页面主体内容 -->
    <div style="width: 1000px; margin: auto">
      <div class="fsever_l1">
        <h2
          class="familyserve_h2"
          style="background: url('/ayb-jiatong/arrow1_18c7959.jpg') no-repeat"
        >
          保洁服务
        </h2>
        <div class="fleJ">
          <div class="family_box" v-for="(bj, i) in fuwu[0]" :key="i">
            <img :src="bj.imgs" alt="" />
            <div class="family_box02">
              <h3>{{ bj.title }}</h3>
              <p>{{ bj.p2 }}</p>
              <div class="saw">查看详情</div>
            </div>
          </div>
        </div>
      </div>
      <div class="fsever_l1">
        <h2
          class="familyserve_h2"
          style="background: url('/ayb-jiatong/arrow5_43d2094.jpg') no-repeat"
        >
          保姆月嫂
        </h2>
        <div class="fleJ">
          <div class="family_box" v-for="(ys, i) in fuwu[1]" :key="i">
            <img :src="ys.imgs" alt="" />
            <div class="family_box02">
              <h3>{{ ys.title }}</h3>
              <p>{{ ys.p2 }}</p>
              <div class="saw">查看详情</div>
            </div>
          </div>
        </div>
      </div>
      <div class="fsever_l1">
        <h2
          class="familyserve_h2"
          style="background: url('/ayb-jiatong/arrow2_a8f9783.jpg') no-repeat"
        >
          搬家服务
        </h2>
        <div class="fleJ">
          <div class="family_box" v-for="(bj1, i) in fuwu[2]" :key="i">
            <img :src="bj1.imgs" alt="" />
            <div class="family_box02">
              <h3>{{ bj1.title }}</h3>
              <p>{{ bj1.p2 }}</p>
              <div class="saw">查看详情</div>
            </div>
          </div>
        </div>
      </div>
      <div class="fsever_l1">
        <h2
          class="familyserve_h2"
          style="background: url('/ayb-jiatong/arrow7_3b3dbbc.jpg') no-repeat"
        >
          家电维修
        </h2>
        <div class="fleJ">
          <div class="family_box" v-for="(bj1, i) in fuwu[3]" :key="i">
            <img :src="bj1.imgs" alt="" />
            <div class="family_box02">
              <h3>{{ bj1.title }}</h3>
              <p>{{ bj1.p2 }}</p>
              <div class="saw">查看详情</div>
            </div>
          </div>
        </div>
      </div>
      <div class="fsever_l1">
        <h2
          class="familyserve_h2"
          style="background: url('/ayb-jiatong/arrow3_68b49cf.jpg') no-repeat"
        >
          家电清洗
        </h2>
        <div class="fleJ">
          <div class="family_box" v-for="(jaqx, i) in fuwu[4]" :key="i">
            <img :src="jaqx.imgs" alt="" />
            <div class="family_box02">
              <h3>{{ jaqx.title}}</h3>
              <p>{{ jaqx.p2 }}</p>
              <div class="saw">查看详情</div>
            </div>
          </div>
        </div>
      </div>
      <div class="fsever_l1">
  <h2
    class="familyserve_h2"
    style="background: url('/ayb-jiatong/arrow2_a8f9783.jpg') no-repeat"
  >
    健康生活
  </h2>
  <div class="fleJ">
    <div class="family_box" v-for="(jaqx, i) in fuwu[5]" :key="i">
      <img :src="jaqx.imgs" alt="" />
      <div class="family_box02">
        <h3>{{ jaqx.title}}</h3>
        <p>{{ jaqx.p2 }}</p>
        <div class="saw">查看详情</div>
      </div>
    </div>
  </div>
</div>
<div class="fsever_l1">
  <h2
    class="familyserve_h2"
    style="background: url('/ayb-jiatong/arrow6_ee1ff37.jpg') no-repeat"
  >
    居家幻想
  </h2>
  <div class="fleJ">
    <div class="family_box" v-for="(jaqx, i) in fuwu[6]" :key="i">
      <img :src="jaqx.imgs" alt="" />
      <div class="family_box02">
        <h3>{{ jaqx.title}}</h3>
        <p>{{ jaqx.p2 }}</p>
        <div class="saw">查看详情</div>
      </div>
    </div>
  </div>
</div>
    </div>
    <!-- 尾 -->
    <div class="wei"><footer1></footer1></div>
  </div>
</template>

<script>
import header1 from "./H-header.vue";
import footer1 from "./H-footer.vue";
export default {
  components: {
    header1,
    footer1,
  },
  data() {
    return {
      fuwu: [
        [
          {
            uid: 1,
            fenlei: "保洁服务",
            imgs: "/ayb-jiatong/bj1.png",
            title: "日常保洁",
            p2: "专业工具,擦洗扫托",
          },
          {
            uid: 2,
            fenlei: "保洁服务",
            imgs: "/ayb-jiatong/bj2.png",
            title: "擦玻璃",
            p2: "专业喷剂，洁净玻璃",
          },
          {
            uid: 3,
            fenlei: "保洁服务",
            imgs: "/ayb-jiatong/bj3.png",
            title: "深度保洁",
            p2: "阿姨帮明星服务，洁净超乎想象",
          },
          {
            uid: 4,
            fenlei: "保洁服务",
            imgs: "/ayb-jiatong/bj4.png",
            title: "新居开荒",
            p2: "新居入住开荒，清扫装修痕迹",
          },
          {
            uid: 5,
            fenlei: "保洁服务",
            imgs: "/ayb-jiatong/bj5.png",
            title: "厨房保养",
            p2: "厨房保养，感受敞亮空间",
          },
          {
            uid: 6,
            fenlei: "保洁服务",
            imgs: "/ayb-jiatong/bj6.png",
            title: "卫生间保养",
            p2: "卫生间保养，焕发闪亮光洁",
          },
          {
            uid: 7,
            fenlei: "保洁服务",
            imgs: "/ayb-jiatong/bj7.png",
            title: "家庭长期保洁",
            p2: "摆脱繁琐家务，重获生活自由",
          },
          {
            uid: 8,
            fenlei: "保洁服务",
            imgs: "/ayb-jiatong/bj8.png",
            title: "地板打蜡",
            p2: "天然蜂蜡，温和护养",
          },
          {
            uid: 9,
            fenlei: "保洁服务",
            imgs: "/ayb-jiatong/bj9.png",
            title: "皮质沙发保养",
            p2: "无风清洁，滋润养护",
          },
        ],
        [
          {
            uid: 1,
            fenlei: "保姆月嫂",
            imgs: "/ayb-jiatong/bb1.png",
            title: "月嫂",
            p2: "呵护母婴，体贴放心",
          },
          {
            uid: 2,
            fenlei: "保姆月嫂",
            imgs: "/ayb-jiatong/bb2.png",
            title: "育儿嫂",
            p2: "专业呵护，快乐成长",
          },
          {
            uid: 3,
            fenlei: "保姆月嫂",
            imgs: "/ayb-jiatong/bb3.png",
            title: "保姆",
            p2: "专业保姆，全能管家",
          },
          {
            uid: 4,
            fenlei: "保姆月嫂",
            imgs: "/ayb-jiatong/bb4.png",
            title: "老人陪护",
            p2: "至亲至爱，暖心陪伴",
          },
          {
            uid: 5,
            fenlei: "保姆月嫂",
            imgs: "/ayb-jiatong/bb5.png",
            title: "家庭长期做饭",
            p2: "全能管家，贴心服务",
          },
          {
            uid: 6,
            fenlei: "保姆月嫂",
            imgs: "/ayb-jiatong/bb6.png",
            title: "催乳服务",
            p2: "贴心呵护，喂爱服务",
          },
          {
            uid: 7,
            fenlei: "保姆月嫂",
            imgs: "/ayb-jiatong/bb7.png",
            title: "老人助洁",
            p2: "用心关怀，全面呵护",
          },
          {
            uid: 8,
            fenlei: "保姆月嫂",
            imgs: "/ayb-jiatong/bb8.png",
            title: "临时看护",
            p2: "关爱老年人，理应有所养",
          },
        ],
        [
          {
            uid: 1,
            fenlei: "搬家服务",
            imgs: "/ayb-jiatong/bjfu1.png",
            title: "日式搬家",
            p2: "一站式服务，当天入住",
          },
          {
            uid: 2,
            fenlei: "搬家服务",
            imgs: "/ayb-jiatong/bjfu2.png",
            title: "家庭搬家",
            p2: "在线预约，人车到位",
          },
        ],
        [
          {
            uid: 1,
            fenlei: "家电维修",
            imgs: "/ayb-jiatong/jd1.png",
            title: "油烟机维修",
            p2: "用我们的专业，解决您的烦恼",
          },
          {
            uid: 2,
            fenlei: "家电维修",
            imgs: "/ayb-jiatong/jd2.png",
            title: "洗衣机维修",
            p2: "半自动，全自动",
          },
          {
            uid: 3,
            fenlei: "家电维修",
            imgs: "/ayb-jiatong/jd3.png",
            title: "冰箱维修",
            p2: "商用，家用冰箱",
          },
          {
            uid: 4,
            fenlei: "家电维修",
            imgs: "/ayb-jiatong/jd4.png",
            title: "空调维修",
            p2: "专业技师，专注维修",
          },
          {
            uid: 5,
            fenlei: "家电维修",
            imgs: "/ayb-jiatong/jd5.png",
            title: "空调加氟",
            p2: "专业加氟，使用放心",
          },
          {
            uid: 6,
            fenlei: "家电维修",
            imgs: "/ayb-jiatong/jd6.png",
            title: "热水器维修",
            p2: "燃气，电热水器",
          },
          {
            uid: 7,
            fenlei: "家电维修",
            imgs: "/ayb-jiatong/jd7.png",
            title: "微波炉维修",
            p2: "检测，维修",
          },
          {
            uid: 8,
            fenlei: "家电维修",
            imgs: "/ayb-jiatong/jd8.png",
            title: "管道疏通",
            p2: "快速疏通，轻松快捷",
          },
          {
            uid: 9,
            fenlei: "家电维修",
            imgs: "/ayb-jiatong/jd9.png",
            title: "马桶维修",
            p2: "专业安装，更换马桶",
          },
          {
            uid: 10,
            fenlei: "家电维修",
            imgs: "/ayb-jiatong/jd10.png",
            title: "换锁",
            p2: "精于探锁，贵在创芯",
          },
          {
            uid: 11,
            fenlei: "家电维修",
            imgs: "/ayb-jiatong/jd11.png",
            title: "换纱窗",
            p2: "扼纱危险，窗造平安",
          },
          {
            uid: 12,
            fenlei: "家电维修",
            imgs: "/ayb-jiatong/jd12.png",
            title: "水龙头更换",
            p2: "一步到位，闪电更换",
          },
          {
            uid: 13,
            fenlei: "家电维修",
            imgs: "/ayb-jiatong/jd13.png",
            title: "灯具安装",
            p2: "安装有保障，安全又无优",
          },
          {
            uid: 14,
            fenlei: "家电维修",
            imgs: "/ayb-jiatong/jd14.png",
            title: "净水器安装",
            p2: "安得放心，修的专业",
          },
          {
            uid: 15,
            fenlei: "家电维修",
            imgs: "/ayb-jiatong/jd15.png",
            title: "净水器滤芯更换",
            p2: "定期换滤芯，饮水更安全",
          },
        ],

        [
          {
            uid: 1,
            fenlei: "家电清洗",
            imgs: "/ayb-jiatong/jdqx1.png",
            title: "油烟机清洗",
            p2: "高温蒸汽，洗尽铅华，油影无踪",
          },
          {
            uid: 2,
            fenlei: "家电清洗",
            imgs: "/ayb-jiatong/jdqx2.png",
            title: "洗衣机清洗",
            p2: "彻底杀菌清洗，拒绝脏桶洗衣",
          },
          {
            uid: 3,
            fenlei: "家电清洗",
            imgs: "/ayb-jiatong/jdqx3.png",
            title: "冰箱清洗",
            p2: "除冰除菌除臭，健康生活",
          },
          {
            uid: 4,
            fenlei: "家电清洗",
            imgs: "/ayb-jiatong/jdqx4.png",
            title: "空调清洗",
            p2: "除尘消菌，拒绝室内雾霾",
          },
          {
            uid: 5,
            fenlei: "家电清洗",
            imgs: "/ayb-jiatong/jdqx5.png",
            title: "灶台清洗",
            p2: "蒸汽杀菌，彻底清除重油污",
          },
          {
            uid: 6,
            fenlei: "家电清洗",
            imgs: "/ayb-jiatong/jdqx6.png",
            title: "电烤箱清洗",
            p2: "多重清洗，还原食物美味",
          },
          {
            uid: 7,
            fenlei: "家电清洗",
            imgs: "/ayb-jiatong/jdqx7.png",
            title: "微波炉清洗",
            p2: "除渍除菌除味，乐享健康",
          },
          {
            uid: 8,
            fenlei: "家电清洗",
            imgs: "/ayb-jiatong/jdqx8.png",
            title: "消毒柜清洗",
            p2: "高校杀菌消毒，让您从此无忧",
          },
          {
            uid: 9,
            fenlei: "家电清洗",
            imgs: "/ayb-jiatong/jdqx9.png",
            title: "饮水机清洗",
            p2: "除细菌水垢，喝健康水",
          },
          {
            uid: 10,
            fenlei: "家电清洗",
            imgs: "/ayb-jiatong/jdqx10.png",
            title: "热水器清洗",
            p2: "无菌无垢，享受健康",
          },
        ],

        [
          {
            uid: 1,
            fenlei: "健康生活",
            imgs: "/ayb-jiatong/jk1.png",
            title: "深度除螨",
            p2: "美螨时刻，刻不容缓",
          },
          {
            uid: 2,
            fenlei: "健康生活",
            imgs: "/ayb-jiatong/jk2.png",
            title: "汽车除醛",
            p2: "检测清除一部到位",
          },
          {
            uid: 3,
            fenlei: "健康生活",
            imgs: "/ayb-jiatong/jk3.png",
            title: "CMA空气质量检测",
            p2: "权威认证，专业服务",
          },
          {
            uid: 4,
            fenlei: "健康生活",
            imgs: "/ayb-jiatong/jk4.png",
            title: "除甲醛",
            p2: "彻底除甲醛，了享优生活",
          },
          {
            uid: 5,
            fenlei: "健康生活",
            imgs: "/ayb-jiatong/jk5.png",
            title: "甲醛检测",
            p2: "权威检测，放心入住",
          },
        ],

        [
          {
            uid: 1,
            fenlei: "居家换新",
            imgs: "/ayb-jiatong/jj1.png",
            title: "儿童换新房",
            p2: "一站式服务，儿童梦想小屋",
          },
          {
            uid: 2,
            fenlei: "居家换新",
            imgs: "/ayb-jiatong/jj2.png",
            title: "卫生间换新",
            p2: "卫生间一站式换新",
          },
          {
            uid: 3,
            fenlei: "居家换新",
            imgs: "/ayb-jiatong/jj3.png",
            title: "换地板",
            p2: "品质地板，承载无限",
          },
          {
            uid: 4,
            fenlei: "居家换新",
            imgs: "/ayb-jiatong/jj4.png",
            title: "换地砖",
            p2: "真材石价，辅就美家",
          },
          {
            uid: 5,
            fenlei: "居家换新",
            imgs: "/ayb-jiatong/jj5.png",
            title: "换吊顶",
            p2: "营造富多彩的室内空间",
          },
          {
            uid: 6,
            fenlei: "居家换新",
            imgs: "/ayb-jiatong/jj6.png",
            title: "换壁纸",
            p2: "清雅闲居，纸因有你",
          },
          {
            uid: 7,
            fenlei: "居家换新",
            imgs: "/ayb-jiatong/jj7.png",
            title: "换墙漆",
            p2: "好墙好漆好生活",
          },
          {
            uid: 8,
            fenlei: "居家换新",
            imgs: "/ayb-jiatong/jj8.png",
            title: "防水补漏",
            p2: "滴水不漏，专业高效",
          },
          {
            uid: 9,
            fenlei: "居家换新",
            imgs: "/ayb-jiatong/jj9.png",
            title: "墙面地面维修",
            p2: "美观，不至于表面",
          },
          {
            uid: 10,
            fenlei: "居家换新",
            imgs: "/ayb-jiatong/jj10.png",
            title: "家具杂修",
            p2: "家修无难事，一键解烦忧",
          },
        ],
      ],
    };
  },
};
</script>

<style lang="scss" scoped>
.zhutiyi {
  width: 100vw;
  height: 480px;
  overflow: hidden;
  background: url("../assets/新建文件夹/bg5_7711f97.jpg");
}
// 主页面
.familyserve_h2 {
  width: 104px;
  height: 34px;
  line-height: 34px;
  font-size: 20px;
  font-weight: 400;
  color: #fff;
  padding-left: 12px;
  margin: 40px 0 16px 0px;
}
.fleJ {
  display: flex;
  justify-content: start;
  flex-wrap: wrap;
}
.family_box:hover {
  // border:1px solid  #7de97d;
  box-sizing: border-box;
  background: #f5fff5;
  border-radius: 13px;
  .family_box02 {
    .saw {
      display: block !important;
    }
  }
}



.family_box {
  display: flex;
  justify-content: space-between;
  width: 320px;
  margin-right: 20px;
  margin-bottom:10px ;
  &:nth-child(3n) {
    margin-right: 0px;
  }
  > img {
    display: block;
    width: 64px;
    height:64px;
    margin: 14px;
  }
  .family_box02 {
    position: relative;
    width: 228px;
    > h3 {
      font-size: 20px;
      color: #333;
      margin: 20px 0 7px;
      white-space: nowrap;
    }
    > p {
      font-size: 14px;
      color: #999;
    }
    .saw {
      width: 72px;
      height: 32px;
      background: #00beaf;
      border-radius: 3px;
      font-size: 12px;
      color: #fff;
      text-align: center;
      line-height: 32px;
      position: absolute;
      right: 15px;
      top: 30px;
      display: none;
    }
  }
}
</style>